﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="VIPAgentExchangeView.aspx.cs" Inherits="IHISCETeim.Web.AgentSys.VipMgr.VIPAgentExchangeView" %>
<div class="pageContent">
	<form method="post" action="" class="pageForm required-validate" onsubmit="return validateCallback(this, navTabAjaxDone);">
		<div class="pageFormContent" layoutH="56">            
            <h2 style=" padding:0px 0px 5px 6px; border-bottom:1px solid #B8D0D6;clear:both;">1.收货信息</h2>
                 <p>
				    <label>代理商名称：</label>
				    <input name="AgentName" type="text" class="required"  value="<%=objEx.AgentName %>" />
			    </p>
                <p>
				    <label>姓名：</label>
				    <input name="RealName" type="text" class="required"  value="<%=objEx.RealName %>" />
			    </p>                
                <p>
				    <label>联系方式：</label>
				    <input name="Tel" type="text" class=""  value="<%=objEx.Tel %>" />
			    </p>
                <p>
				    <label>地址：</label>
				    <input name="Address" type="text" class=""  value="<%=objEx.Address %>" />
			    </p>
          
            
             <h2 style=" padding:0px 0px 5px 6px; border-bottom:1px solid #B8D0D6;clear:both;">2.兑换信息</h2>
                   <p>
				        <label>订单号：</label>
				        <input name="DocNum" type="text" class="required" readonly  value="<%=objEx.DocNum %>" />
			      </p>
                  <p>
				        <label>兑换日期：</label>
				        <input name="ExChangeDate" type="text" class="date required"  value="<%=objEx.ExChangeDate.ToString("yyyy-MM-dd") %>" />
			      </p>

             <div class="divider"></div>
                    <p>
				        <label>备注：</label>
				        <input name="Remark" type="text" class=" "  value="<%=objEx.Remark %>" />
			      </p>
              <h2 style="clear:both; padding:5px; border-bottom:1px solid #B8D0D6; margin-bottom:5px; margin-top:15px; line-height:26px;">
                3.明细
                &nbsp;&nbsp;
            </h2>
                  <div  style=" clear:both;">
                        <table  class="list" width="100%" layouth="90" >
                        <thead>
                            <tr>                
                                <th width="100" >物料号</th>
                                <th>名称</th>                
                                <th width="100">单价</th> 
                                <th width="120">数量</th>                               
                                <th>小计</th>
                                <th>积分</th> 
                                <th>删除</th>             
                            </tr>
                         </thead>
                         <tbody>
                             <asp:repeater id="rpDetail" runat="server">
                                <ItemTemplate>
                                 <tr >
				                    <td><input type="text" name="ItemCode" readonly value="<%# Eval("ItemCode") %>" /></td>
				                    <td><input type="text" name="ItemName"  value="<%# Eval("ItemName") %>" /></td>
				                    <td><input type="text" name="Price"  value="<%# Eval("Price") %>" /></td>
                                    <td><input type="text" name="Quantity"  value="<%# Eval("Quantity") %>" /></td>
                                    <td><input type="text" name="LineTotal" readonly value="<%# Eval("LineTotal") %>" /></td>
                                    <td><input type="text" name="Point" readonly value="<%# Eval("LinePoint") %>" /></td>
			                    </tr>
                                 </ItemTemplate>
                            </asp:repeater>
                         </tbody>
                         <tfoot>
                             <tr>
                                <td colspan="4" style="text-align:right;">
                                总计:
                                </td>
                                <td  >
                                    <input type="text" name="TotalMoney" size="10" readonly value="<%=objEx.TotalMoney %>" />     
                                                               
                                </td>
                                <td colspan="2">
                                    <input type="text"  name="TotalPoint" size="10" readonly value="<%=objEx.TotalPoint %>" />
                                </td>                        
                            </tr>
                         </tfoot>
                         </table>
                   </div>
        
        </div>
		<div class="formBar">
			<ul>
				
				<li>
					<div class="button"><div class="buttonContent"><button type="button" class="close">关闭</button></div></div>
				</li>
			</ul>
		</div>
	</form>
</div>
